package com.muse.reflect;

/**
 * @description 单例类
 * @author: muse
 **/
public class SingletonPerson {

    private static final SingletonPerson instance = new SingletonPerson();

    private SingletonPerson(){
        System.out.println("------SingletonPerson()构造函数被调用-----");
    }

    public static SingletonPerson getInstance(){
        return instance;
    }
}
